<?php

?>

<div class="page">

    <div class="page-content appbg infinite-scroll baidupayListInfBox" style="position: relative !important;">
        <div class="page-content-inner" style="max-width:700px;background:rgba(0,0,0,0.2);max-height:min-content;overflow: hidden;">
            <!--幻灯片-->
            <div class="slides-mbox">
                <?php echo \lev\widgets\slides\slidesWidget::run()?>
            </div>

            <div class="baidupay-mbox">
                <div class="card-header">
                <div class="color-white scale7 nowrap transl">百度小程序访问PATH规则 - /pages/index/index?go=</div>
                </div>
                <div class="card-content-inner list-block no-hairlines">
                    <a class="MiniPathTo item-content">levssq:census</a>
                    <a class="MiniPathTo item-content" path="levssq:census&r=datas/lsgl">levssq:census&r=datas/lsgl</a>
                    <a class="MiniPathTo item-content" path="levssq">levssq</a>
                </div>
            </div>


        </div>

        <?php Lev::footer();?>
    </div>

    <?php Lev::navbar(); Lev::toolbar();?>
</div>

<?=\modules\levmb\sdk\bdumini\bduminiAuthLogin::loadJsapi('/')?>
<?=\modules\levpays\modules\alipay\widgets\pay\payWidget::miniJs()?>
<script>
    jQuery(function () {
        Levme.onClick('.MiniPathTo', function () {
            var url = (jQuery(this).attr('path'));
            myApp.alert(encodeURIComponent(url));

            var pm = {url: '/pages/index/index?go=' + encodeURIComponent(url ? url : 'levssq:census')};
            if (typeof swan !== "undefined") {
                swan.webView.navigateTo(pm);
            }else if (typeof my !== "undefined") {
                my.navigateTo(pm);
            }
        });
    });
</script>

